package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.Shop;
import com.company.project.model.ShopLogin;
import com.company.project.model.request.QueryParams;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMapper extends Mapper<Shop> {
    List<ShopLogin> getShopList(@Param("item") QueryParams queryParams);

    Integer getShopListTotal(@Param("item") QueryParams queryParams);

    Shop findShopById(@Param("id")Integer shopId);

    Shop findExportShop(@Param("id") Integer shopId);

    List<Shop> findList(@Param("kind")String kind, @Param("price")Integer price, @Param("price2")Integer price2);
}